home *** CD-ROM | disk | FTP | other *** search
-
- function jsToggleDisplay(id)
- {
- var el = document.getElementById(id);
- var display = el.style.display ? '' : 'none';
- el.style.display = display;
- }
-
- function jsSaveSecurity()
- {
- var form = document.getElementById("form");
- var sel;
- for(var i=0;i<3;i++)
- if(form.level[i].checked)
- sel=form.level[i].value;
-
- var wp=document.getElementById("wp"+sel);
-
- var el = document.getElementById("level");
- el.innerHTML=wp.value;
- jsToggleDisplay("security");
- document.form.submit();
- }
-
- function jsReportPhishing(url)
- {
- var urlx;
- urlx="http://dap.phishspot.com/report.asp?urlx="+base64encode(url);
- document.location.href=urlx;
- }
-
- function jsPopup(url)
- {
- var width,height;
- var top,left;
-
- width=480;
- height=300;
-
- left = (screen.width-width)/2;
- top = (screen.height-height)/2;
- window.open(url,'dap','width='+width+',height='+height+',left='+left+',top='+top+',resizable=1,scrollbars=1,toolbar=1,menubar=1,status=1');
- }
-